projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8079df
)
Fix the icontheme test
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 16 Jan 2018 20:42:28 +0000
(15:42 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 16 Jan 2018 20:42:28 +0000
(15:42 -0500)
We rely on log messages here. Since logging is per-display
now, we need to set a display on our custom icontheme object
to get the expected log messages.
testsuite/gtk/icontheme.c
patch
|
blob
|
history
diff --git
a/testsuite/gtk/icontheme.c
b/testsuite/gtk/icontheme.c
index cf466471f31b817ab6bd9bfe5299a0a677359cb7..a1d6e8fb61cc2488c653105df514d2f123b8fff4 100644
(file)
--- a/
testsuite/gtk/icontheme.c
+++ b/
testsuite/gtk/icontheme.c
@@
-18,6
+18,7
@@
get_test_icontheme (gboolean force_reload)
icon_theme = gtk_icon_theme_new ();
gtk_icon_theme_set_custom_theme (icon_theme, "icons");
+ gtk_icon_theme_set_display (icon_theme, gdk_display_get_default ());
current_dir = g_test_get_dir (G_TEST_DIST);
gtk_icon_theme_set_search_path (icon_theme, ¤t_dir, 1);